<template>
  <require from="./dynamic-ui-radiobutton-element.css"></require>
  <label for="dynamic-${field.id}">${field.label}</label>
  <fieldset id="dynamic-${field.id}">
    <span repeat.for="value of field.enumValues">
      <input type="radio" id="dynamic-radio-${value.value}" name="${field.id}" model.bind="value.value" checked.bind="field.value">
      <label for="dynamic-radio-${value.value}"> ${value.label}</label>
    </span>
  </fieldset>
</template>
